// SQLTree.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"

#include "utf8string.h"
#include "ParserContext.h"

extern int yyparse(ParserContext & context);

int _tmain(int argc, _TCHAR* argv[])
{
	utf8string str;
	str.readform("utf8.txt");
	std::vector<Token> tokens;
	bool success = Token::Tokenize(str.getsource(), tokens);

    ParserContext context(&tokens);
    yyparse(context);

     //Clause one;
     //Clause two = one;
     //Clause three;
     //three = one;

	return 0;
} 